
public class ScribbleFactory {

	//SINGLETON
	private static ScribbleFactory instance;
	
	private ScribbleFactory() {
		
	}
	
	public ImageEntity getImageEntity(String phrase) {
		return new ImageEntity(Dictionary.getInstance().getImageFileNameForString(phrase));
	}
	
	public static ScribbleFactory getInstance() {
		if(instance==null)
			instance=new ScribbleFactory();
		return instance;
	}

}
